<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<script src="../js/vue.js"></script>
<div id="app">
  <!--checkbox的单选框-->
 <!-- <label for="agreeLicense">
    <input type="checkbox" id="agreeLicense" v-model="agreeLicense" >同意协议
  </label>
  <h2>你选择的是；{{agreeLicense}}</h2>
  <button :disabled="!agreeLicense">下一步</button>-->
<!--  checkbox的多选框-->

    <input type="checkbox" value="sing" v-model="hobbies">唱
    <input type="checkbox" value="jump" v-model="hobbies">跳
    <input type="checkbox" value="rap" v-model="hobbies">rap
    <input type="checkbox" value="basketball" v-model="hobbies">篮球
  <h2>您的爱好是：{{hobbies}}</h2>

</div>

<script>
  const app = new Vue({
    el: '#app',
    data: {
      message: "第一次，系统的学VUE",
      agreeLicense:false,
      hobbies:[]
    }
  })
</script>
</body>
</html>